Biggest free shell account list
Biggest shell account list is <a href="http://www.red-pill.eu/freeunix.shtml" target="_blank">here.
Biggest shell account list is <a href="http://www.red-pill.eu/freeunix.shtml" target="_blank">here.
Here is the command to test that all the directories in your path actually exist.
(<a class="zem_slink freebase/en/internal_field_separator" title="Internal field separator" rel="wikipedia" href="http://en.wikipedia.org/wiki/Internal_field_separator">IFS=:;for p in $PATH; do test -d $p || echo $p; done)
And the explanation :
Set the IFS to ”:”
now we loop through the PATH variable
and test all the directories with ”test -d”
Here is another version without IFS:
for i in ${PATH//:/ };do testย -d $i || echo $i;done
Continue reading
I had bash completion installed and after that I had made huge changes to my bashrc and also installed bashstyle. After this the bash-completion stopped working.
I had to spend a lot of time to figure out that the easiest solution was to source the bash-completion again in the end. ๐
. /etc/bash_completion
If you wanted to have colors in the bash output (including the colors in PS1-4), don’t you keep wondering how the color code would look on the terminal. So, I wrote this small script to show the complete color codes. This is how the output would look:
And here is the script:
|
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
let a cow tell you your fortune
|
1
|